package com.ogawa.projectcommon.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.ogawa.base.constants.Constants

@Entity(tableName = "diy")
data class DiyBean(
    @ColumnInfo(name = "typeCode")
    var typeCode: String,
    @ColumnInfo(name = "diyName")
    var diyName: String,
    @ColumnInfo(name = "content")
    var content: String,
    @ColumnInfo(name = "appIndex")
    var appIndex: Int? = null,
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    var id: Int? = null,
    var userId: String? = null,
    var createTime: Long? = null,
    var updateTime: Long? = null,
    var platform: String = Constants.NET_DEF_PLATFORM
)